import { hyRequest } from "./index"

export function getTopMv(limit = 10,offset = 0) {
  return hyRequest.get({
    url:"/top/mv",
    data:{
      limit,
      offset
    }
  })
}

export function getMVUrl(id) {
    return hyRequest.get({
        url:"/mv/url",
        data: {
            id
        }
    })
}

export function getMVDetail(mvid) {
    return hyRequest.get({
        url: "/mv/detail",
        data: {
            mvid
        }
    })
}

export function getMVrelated(id) {
    return hyRequest.get({
        url: "/related/allvideo",
        data: {
            id
        }
    })
}